package com.lanou3g.code0410;

/**
 * If there are no bugs, it was created by Chen FengYao on 2018/4/10;
 * Otherwise, I don't know who created it either
 */

public class Animal {
    private String kind; // 种类
    public int weight;

    public void eat(){
        System.out.println(kind + "在吃饭");
    }



    public void shout(){
        System.out.println("叫");
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }
}
